Towards a Framework for Generating Tests to Satisfy Complex Code Coverage in Java Pathfinder
نویسنده
چکیده
We present work on a prototype tool based on the JavaPathfinder (JPF) model checker for automatically generating tests satisfying the MC/DC code coverage criterion. Using the Eclipse IDE, developers and testers can quickly instrument Java source code with JPF annotations covering all MC/DC coverage obligations, and JPF can then be used to automatically generate tests that satisfy these obligations. The prototype extension to JPF enables various tasks useful in automatic test generation to be performed, such as test suite reduction and execution of generated tests.
منابع مشابه
Towards Model Checking with Java PathFinder for Autonomic Systems Specified and Generated with ASSL
Autonomic computing has been recognized as a valid approach to the development of large-scale selfmanaging complex systems. The Autonomic System Specification Language (ASSL) is an initiative for the development of autonomic systems where we approach the problem of formal specification, validation, and code generation of such systems within a framework. As part of our research on ASSL, we have ...
متن کاملUsing Symbolic (Java) PathFinder at NASA
Symbolic (Java) PathFinder (SPF) is a symbolic execution tool that is used for the automated generation of test cases that satisfy various coverage criteria, such as condition, path and MC/DC coverage. The tool has been used at NASA, in academia, and in industry, most notably at Fujitsu. We describe our experience with using SPF and we identify some of the challenges for making the tool more us...
متن کاملOn Test Generation through Programming in UDITA
We present an approach for describing tests using nondeterministic test generation programs. To write test generation programs, we introduce UDITA, a Java-based language with non-deterministic choice operators and an interface for generating linked structures. We also describe new algorithms that generate concrete tests by efficiently exploring the space of all executions of non-deterministic U...
متن کاملAbstract Model Checking of Web Applications Using Java PathFinder
Model Checking of Web Applications Using Java PathFinder Vinh Cuong Tran Yoshinori Tanabe Masami Hagiya Due to the interleaving of clients and servers, verifying web applications is a hard task. Bugs may occur only on particular scenarios, but testing all of them manually is almost impossible. To overcome the difficulty, we propose a framework for source code model checking of web applications....
متن کاملInstalling and Using PyPy Standalone Compiler with Parlib Framework Technology Overview and Installation Manual
This technical report describes how to install and use an application framework called Parlib with an experimental compiler based on the PyPy project. This software equipment enables to write programs in the Python programming language and to translate them to efficient machine code and Java byte-code. A development process that takes advantage of these tools is briefly described. The developme...
متن کامل